package com.neu.cloudFactory.VO;

import com.neu.cloudFactory.PO.Efficiency;
import com.neu.cloudFactory.PO.EquipMsg;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class EfficiencyVO {
    private String equipCode;
    private String equipName;
    private List<Efficiency> efficiencies;

    public EfficiencyVO(EquipMsg equipMsg,List<Efficiency> efficiencies){
        this.equipCode = equipMsg.getCode();
        this.efficiencies = efficiencies;
    }
}
